class C
	puts "Just started class C:"
	puts self
	module N
		puts "Nested module C::M:"
		puts self
	end
	puts "Back in the outer level of C:"
	puts self
	
	def m
		puts "class C: method X"
		puts self
	end
end

c = C.new
c.m

def c.show_me
	puts "Inside singleton method show_me of #{self}"
end 

c.show_me